package com.jeesite.modules.jdProduct.entity;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.jeesite.common.entity.DataEntity;
import com.jeesite.common.mybatis.annotation.Column;
import com.jeesite.common.mybatis.annotation.Table;
import com.jeesite.common.mybatis.mapper.query.QueryType;

/**
 * 测试数据Entity
 * 
 * @author ThinkGem
 * @version 2018-04-22
 */
@Table(name = "jd_productimg", alias = "a", columns = {
		@Column(name = "id", attrName = "id", label = "编号", isPK = true),
		@Column(name = "path", attrName = "path", label = "分类名称", queryType = QueryType.LIKE),
		@Column(name = "status", attrName = "status", label = "状态"),
		@Column(name = "sku", attrName = "sku", label = "权重"),
		@Column(name = "create_date", attrName = "createDate", label = "创建时间"), }, orderBy = "a.create_date DESC")
public class Productimg extends DataEntity<Productimg> {

	private static final long serialVersionUID = 1L;
	private Integer sku;

	private String status;

	private String path;
	
	@JsonIgnore
	private Date createDate;
	@JsonIgnore
	private String updateBy;
	@JsonIgnore
	private String createBy;
	@JsonIgnore
	private Date updateDate;
	
	

	@JsonIgnore
	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Integer getSku() {
		return sku;
	}

	public void setSku(Integer sku) {
		this.sku = sku;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}
}
